//
//  LZItem.m
//  彩票
//
//  Created by Macx on 16/6/2.
//  Copyright © 2016年 LiuZhuo. All rights reserved.
//

#import "LZItem.h"
@class LZItem;
@implementation LZItem
+(instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon{
    LZItem * item = [[self alloc]init];
    item.icon=icon;
    item.title=title;
    return item;
}
+(instancetype)itemWithTitle:(NSString *)title{
    LZItem * item = [[self alloc]init];
    item.icon=nil;
    item.title=title;
    return item;
}
@end
